package com.mzj.saas.mservice.application.repository;

import com.mzj.saas.mservice.application.entity.HousePutRecordsSet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface HousePutRecordsSetRepository extends PagingAndSortingRepository<HousePutRecordsSet, Long>, JpaSpecificationExecutor<HousePutRecordsSet>, JpaRepository<HousePutRecordsSet, Long> {
    HousePutRecordsSet findByOrgId(Long orgId);

    HousePutRecordsSet findByAreaIdAndStatus(Long areaId, Integer status);

    HousePutRecordsSet findByConfirmorIdAndStatus(String confirmorId, Integer status);
}
